router: Rewrite the ingress MTU to one configured for the interface
authorPaul Donald <[email protected]>
Tue, 28 Oct 2025 18:28:42 +0000 (19:28 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 3 Nov 2025 07:17:12 +0000 (08:17 +0100)
commitb9a071b8341fbaa2d518df6b45286b1a822845ee
treeb50f8a22cd6edd2e5067b1b832a4d2b8211548b0
parent1ef9e0e610d5ee586173991390e4a19d281379ea
router: Rewrite the ingress MTU to one configured for the interface

There are edge cases where routers forward ICMPv6 RA which contain an MTU which
is too large/small for the receiving client. Override the ingress MTU with the
value configured on the interface.

Signed-off-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/296
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/router.c